﻿using DynamicViewFormApp.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DynamicViewFormApp.Component
{
    class PanelBaseHandler
    {
        /// <summary>
        /// 缩放居中
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        internal static void PanelBase_Resize(object sender, EventArgs e)
        {
            Panel p = sender as Panel;
            PageService.ResizeLocation(p);
        }
    }
}
